package com.liu.common.entity.vo;

import com.liu.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class QQImageOCRVO extends BaseEntity {

    private String status;

    private Integer retcode;

    private Data data;

    private String message;

    private String wording;

    @Getter
    @Setter
    public static class Data extends BaseEntity {

        private List<Text> texts;

        @Getter
        @Setter
        public static class Text extends BaseEntity {

            private String text;

            private Integer confidence;

            private List<Coordinate> coordinates;

            private String language;

            @Getter
            @Setter
            public static class Coordinate extends BaseEntity {

                private Integer x;

                private Integer y;
            }
        }
    }
}
